﻿
using System;

namespace WindowsAPI
{
    public static partial class Consts
    {
        private static readonly IntPtr sf_INVALID_HANDLE_VALUE = new IntPtr(INVALID_HANDLE_VALUE_int);
        public static IntPtr INVALID_HANDLE_VALUE { get { return sf_INVALID_HANDLE_VALUE; } }
        public const long INVALID_HANDLE_VALUE_long = -1;
        public const int INVALID_HANDLE_VALUE_int = -1;

        /// <summary>= 0xFFFFFFFF</summary>
        public const uint INFINITE = 0xFFFFFFFF;

        /// <summary>= 1</summary>
        public const int ANYSIZE_ARRAY = 1;

        /// <summary>= 260</summary>
        public const int MAX_PATH = 260;

        /// <summary>Maximal Length of unmanaged Typename = 80</summary>
        public const int MAX_TYPE = 80;

        /// <summary>= 1</summary>
        public const int BUFFER_SIZE = 1;

        /// <summary>= 14</summary>
        public const int MAX_ALTERNATE = 14;
    }
}
